package day02;

public class DoubleDemo {
    public static void main(String[] args) {
        double a = 3.14;
        float b = 3.14f;

        double c = 3,d=2.9;
        System.out.println(c-d);//0.10000000000000009
        double e= 6.0,f=4.9;
        System.out.println(e-f);//1.0999999999999996
        double g = 6,h=1.9;
        System.out.println(g-h);//4.1
    }
}
